import Vue from 'vue';

// import Sortable from 'sortablejs';  //https://github.com/SortableJS/Sortable#options
import {getFetch, postFetch, postFetchParams} from '../utils/getData'
import API from '../api/api'
import {install, util} from '../utils/util'
import Confirm from '../config/Confirm'

Vue.use(install);

Vue.prototype.$getFetch = getFetch;
Vue.prototype.$postFetch = postFetch;
Vue.prototype.$postFetchParams = postFetchParams;

Vue.prototype.$api = API;
Vue.prototype.$util = util;
Vue.prototype.$myconfirm = Confirm.install;
Vue.prototype.$baseUrl = process.env.BASE_API;
Vue.prototype.$ftpUrl = "https://jzy-api-test.oss-cn-shanghai.aliyuncs.com/";
Vue.prototype.$baseUploadImg = "";
